package com.ruoyi.dynamic.model.pojo.request.app;


import com.ruoyi.common.core.annotation.valid.group.ValidGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
@Schema(description = "APP-创建房间参数")
public class AppCreateRoomRequest {

    @Schema(description = "房间欢迎语")
    @NotBlank(message = "房间欢迎语不能为空",groups = {ValidGroup.Insert.class})
    private String content;

    @Schema(description = "房间背景图")
    private String backgroundUrl;

    @Schema(description = "房间类型id")
    @NotNull(message = "房间类型不能为空 ",groups = {ValidGroup.Insert.class})
    private Integer roomTypeId;


}
